home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.unix.questions,comp.lang.c
- Subject: Re: Bold ASCII
- Date: Mon, 18 Mar 96 15:40:12 GMT
- Organization: none
- Message-ID: <827163612snz@genesis.demon.co.uk>
- References: <4i7cpj$hqa@nexen.nexen.com> <4ih7l2$ds@zeus.tcp.co.uk>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4ih7l2$ds@zeus.tcp.co.uk> tendler@tcp.co.uk "Michael Tendler" writes:
-
- >I thought you'd just set whatever colour you wanted like this:
- >
- >----cut-----------
- > _textcolor(WHITE); /* Change from grey to white text */
- > printf("This is highlighted..."); /* Print string to screen */
- > _textcolor(GRAY); /* Revert back to dullish grey */
- >----cut-----------
-
- Only if you happen to be using an implementation that supports such functions
- and which have the required behaviour - these are not standard C.
-
- >I pretty sure you have to include conio.h at the top of your program too.
-
- conio.h is not a standard C header file. You actually cross-posted this to
- comp.unix.programmer - conio.h doesn't exist under Unix. In that case you'd
- probably use a different system-specific library - Curses.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-